package com.bjpowernode;

import com.bjpowernode.ba03.Student;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest03 {
    @Test
    public void test03(){
        String  config="applicationContext.xml";
        ApplicationContext context=
                new ClassPathXmlApplicationContext(config);
        Student myStudent03 = (Student) context.getBean("myStudent03");
        System.out.println(myStudent03);


    }



}

